# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         hw02
# Description:
# Author:       98745
# Date:         2019/2/28
#-------------------------------------------------------------------------------


n=int(input('请输入星塔的层数：'))
j=1
while j<=n:
    list=[]
    i=1
    while i<=(j*2-1):
        list.append('*')
        i+=1
    print('{list: ^{num}}'.format(list=''.join(list),num=(2*n-1)))
    j+=1